package com.third.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.third.entity.vo.BaseData;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 唐博文
 * @version 2023.1.2
 * &#064;date  2023/10/18 10:42 星期三
 */
//客户表
@Data
@TableName("user")
@AllArgsConstructor
@NoArgsConstructor
public class Users implements BaseData {
    @TableId(type= IdType.AUTO)
    private Integer userId;//用户id
    private String username;//姓名
    private String password;//密码
    private int roleId;//角色id
    private String phone;//电话
    private String address;//地址
    private String email;//邮件
}
